<div class="widget_title">
    热门文章
</div>

@foreach( \App\Models\Article::orderby("hits")->orderBy("created_at")->limit($limit)->get() as $article)
    <div class="list_item">
        <div class="list_item_img">
            <a href="">
                <img src="{{ \Illuminate\Support\Facades\Storage::disk("public")->url($article->thumbs) }}" alt="">
            </a>
        </div>
        <div class="list_item_link">
            <a href="" class="a-14">
                {{ mb_substr($article->title,0,12) }}...
            </a>
            <b>&nbsp;</b>
            <p class="a-12">{{ $article->created_at }}</p>
        </div>
    </div>
@endforeach
